package com.technology.util;

import java.util.Locale;

public class LocaleUsing {

	public static void main(String[] args) {
		
		Locale loc = Locale.getDefault();
		System.out.println("Country:" + loc.getCountry());
		System.out.println("Language:" + loc.getLanguage());
		Locale.setDefault(Locale.GERMANY);
		loc = Locale.getDefault();
		System.out.println("Country:" + loc.getCountry());
		System.out.println("Language:" + loc.getLanguage());
	}
}
